package com.css.zfzx.sjcj.modules.drill.service;

import com.alibaba.fastjson.JSONObject;
import com.css.bpm.platform.sys.dict.repository.entity.DictItemEntity;
import com.css.zfzx.sjcj.modules.drill.Entity.QhY02Entity;
import com.css.zfzx.sjcj.modules.drill.viewobjects.QhY02QueryParams;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * @author Li Helei
 * @date 2020-11-11
 */

public interface QhY02Service {

    JSONObject queryQhY02s(QhY02QueryParams queryParams, int curPage, int pageSize,String sort,String order);

    JSONObject queryQhY02s(QhY02QueryParams queryParams);

    JSONObject queryQhY02(QhY02QueryParams queryParams);

    QhY02Entity getQhY02(String id);

    JSONObject saveQhY02(QhY02Entity qhY02);

    QhY02Entity updateQhY02(QhY02Entity qhY02);

    void deleteQhY02s(List<String> ids);

    void deleteQh(String ids);

    void submitQhY02(String ids);

    List<DictItemEntity> getValidDictItemsByDictCode(String dictCode);

    JSONObject checkCoordinate(String ids);

    JSONObject dataQualityCheckAll(String ids);

    void exportData(HttpServletResponse response,String userId);
}
